<link href="../../../../public/stylesheets/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style6 {color: #FFFFFF}
-->
</style>
#{extends 'main.html' /}
#{set title:'Portal Administrador - Listar Disciplina' /}

<div id="container">

	<!-- Page header -->
	<div id="header">
		<h1>SIGCFC </h1>
		<h5 class="style6">Você está logado como ${prof.nome}</h5>
  </div>

<div id="content_wrap">
		<!-- Navigation -->
		<div id="nav">
		  <ul>
			<li>
				#{a @Application.portalProfessor()}Portal Professor #{/a}			
			</li>
			<BR>
		  	<li>
				#{a @Application.index()}SAIR#{/a}
			</li>		
			
		  </ul>
  	  </div>

  <div id="main">
			<center><h1>Listar Disciplina</h1></center>
			<center>
			<table width="312">
              <tr>
                <th width="62" scope="row"><div align="center"><strong>Cod</strong></div></th>
                <td width="104"><div align="center"><strong>Nome</strong></div></td>
                <td width="67"><div align="center"><strong> Início</strong></div></td>
                <td width="59"><div align="center"><strong> Fim</strong></div></td>
              </tr>
            </table>
<table border="1" cellpadding="2" cellspacing="2">
		  		#{list items:disciplinas, as:'disciplina'}
		  			<tr>
		  				<td>
		  				<a href="@{AlunoMBean.listarAlunoProf(disciplina.idAula, disciplina.codDisc)}">${disciplina.codDisc}</a>
		  					
		  				</td>
						<td>
							${disciplina.nomeDisc}
						</td>
						<td>
							${disciplina.horaInicio}
						</td>
						<td>
							${disciplina.horaFim}
						</td>								 
	                	 
					</tr>
				#{/list}
			</table>				
	  </center>	
	  <BR><center><a href="@{Application.portalProfessor()}">Voltar</a></center>  	
		<div class="brclear"></div>
		</div>
	</div>
  <div id="footer">Sistema de Gest�o para Centro de Forma��o de Condutores<br>TecByte</div>

</div>